import json

from infrastructure.utils.json import json_marshal


def pretty_print_json(data: dict | list):
    """漂亮的打印出json"""
    pretty_sorted_json = json_marshal(data, indent=4)
    print(pretty_sorted_json)
